#pragma once
#include <list>
#include "triangle.h"
#include <boost/thread.hpp>
#include <cl/cl.h>
#include <windows.h>
#include <gl/glew.h>
#include <gl/gl.h>
#include <gl/glext.h>

struct object;

extern std::list<object*> olist;

object *spawn_object(triangle *tris, int num);

object *parse_obj(std::string filename, std::string extension);

double dotm(v3d &one, v3d &two);

v3d crossm(v3d &one, v3d &two);

extern boost::mutex gmemory_mutex;

